home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
opal
/
obrotold.lzh
/
obrotold.doc
< prev
next >
Wrap
Text File
|
1993-02-23
|
2KB
|
43 lines
During a recent snowstorm, I started to go thru the developer files
That I downloaded from OpalVision BBS. I looked at render.c files, and
wanted some way to test/play with them. Writing a 3D program was out of
the question since they take man-years of programming and there are already
six or more available on the Amiga. I decided to try Mandelbrots since I
had played with this before, and knew it was a relatively simple way to render
in a raster by pixels for render.c.
This version is just a test version. Very crude, does not have any control
and just does the one size. You can save it into a Jpeg file at the end.
It worked, so I was encouraged and went on to OpalBrot which has a user inter-
face and several different fractals. I was not satisfied with any fractal
program I have seen. That file is available, but source is not included.
Why am I uploading this when I got something better? There seems to be a
bug in the Opal library saving a screen which only saves the left third. I
included this source to help troubleshoot. This was done with version 3.4 of
Opal Library on an Amiga 2000 with GVP 3001 accel ( 30/882 at 28MHz) and
WB2.1 and KS2.04. It is also an example of how to use the renderer. I am
probably not uploading the source to any future versions of OpalBrot.
This problem only happens with 24 bit, and seems to work OK with 8 bit palette
mapped screens.
On the renderer.c I made a few small changes, one is a safer allocation,
with about a 50K margin in chip ram so it cannot take the last byte. This may
keep the GURU away, as the system may need a little and not be able to get
any memory. I have included the modified source too.
THIS IS FOR EDUCATIONAL AND TROUBLESHOOTING PURPOSES ONLY
NO RESULTS ARE GUARANTEED AND I'LL NOT BE RESPONSIBLE FOR ANY
TRASHED DATA OR HARD DRIVES OR ANY LOSSES ARISING FROM THIS.
AMIGA IS A TRADEMARK OF COMMODORE-AMIGA, INC.
OPALVISION AND LIBRARY BY OPAL TECHNOLOGY AND CENTAUR
AND RENDERER.C ORIGINALLY WRITTEN BY MARTIN BOYD THEREOF
Jim B.
PS: ----- YOU MUST HAVE A 68020 AND 68881 TO RUN THE PROGRAM ---
( ELSE IT WILL GURU! IF YOU DONT, YOU MUST RECOMPILE WITH
'ANY' CPU AND 'STANDARD' OR 'IEEE' MATH OPTIONS SET)